/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

/**
 *
 * @author thaidacvinh
 */
public class LoginService {
    UserDAO userDAO;
    
    public LoginService() {
        userDAO = new UserDAO();
    }
    
    public User checkLogin(String login_name, String login_password) {
        return userDAO.search(login_name, login_password);
    }
}
